<div class="yiiForm">

<p>
Fields with <span class="required">*</span> are required.
</p>

<?php echo CHtml::beginForm(); ?>

<?php echo CHtml::errorSummary($model); ?>

<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_email'); ?>
<?php echo CHtml::activeTextField($model,'su_email',array('size'=>60,'maxlength'=>60)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_name'); ?>
<?php echo CHtml::activeTextField($model,'su_name',array('size'=>25,'maxlength'=>25)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_firstname'); ?>
<?php echo CHtml::activeTextField($model,'su_firstname',array('size'=>45,'maxlength'=>45)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_lastname'); ?>
<?php echo CHtml::activeTextField($model,'su_lastname',array('size'=>45,'maxlength'=>45)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_cellphone'); ?>
<?php echo CHtml::activeTextField($model,'su_cellphone',array('size'=>15,'maxlength'=>15)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_homephone'); ?>
<?php echo CHtml::activeTextField($model,'su_homephone',array('size'=>10,'maxlength'=>10)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_address'); ?>
<?php echo CHtml::activeTextField($model,'su_address',array('size'=>60,'maxlength'=>140)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_zipcode'); ?>
<?php echo CHtml::activeTextField($model,'su_zipcode',array('size'=>7,'maxlength'=>7)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_ktp'); ?>
<?php echo CHtml::activeTextField($model,'su_ktp',array('size'=>45,'maxlength'=>45)); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'id_city'); ?>
<?php echo CHtml::activeTextField($model,'id_city'); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_activation'); ?>
<?php echo CHtml::activeTextField($model,'su_activation'); ?>
</div>
<div class="simple">
<?php echo CHtml::activeLabelEx($model,'su_password'); ?>
<?php echo CHtml::activeTextField($model,'su_password',array('size'=>60,'maxlength'=>128)); ?>
</div>
<?php if(Yii::app()->user->isGuest): ?>
<div class="row">
	<?php echo CHtml::activeLabel($model,'verifyCode'); ?>
	<div>
	<?php $this->widget('CCaptcha'); ?>
	<?php echo CHtml::activeTextField($model,'verifyCode'); ?>
	</div>
	<p class="hint">Please enter the letters as they are shown in the image above.
	<br/>Letters are not case-sensitive.</p>
</div>
<?php endif; ?>
<div class="action">
<?php echo CHtml::submitButton($update ? 'Save' : 'Create'); ?>
</div>

<?php echo CHtml::endForm(); ?>

</div><!-- yiiForm -->